#pragma once

#include "Include.h"
#include "GomokuPlayer.h"
#include "SearchPlayer.h"
#include "Threat.h"
#include "ThreatSpaceCoordinateGetters.h"

class ThreatSpacePlayer : public GomokuPlayer
{
public:
	ThreatSpacePlayer();
	~ThreatSpacePlayer();

	virtual void Play(int player, Board board, Move &move);

private:
	SearchPlayer m_backupSearch;
	bool m_playedFirst;
	int m_moveNumber;

	std::list<Threat> m_myThreats;
	std::list<Threat> m_opponentThreats;
};
